/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.crossriver.crgis.database.service;

import com.liferay.portal.kernel.util.ClassLoaderProxy;
import com.liferay.portal.kernel.util.MethodHandler;
import com.liferay.portal.kernel.util.MethodKey;

/**
 * @author Wole Adetiba
 */
public class Bank_Payment_SlipLocalServiceClp
	implements Bank_Payment_SlipLocalService {
	public Bank_Payment_SlipLocalServiceClp(ClassLoaderProxy classLoaderProxy) {
		_classLoaderProxy = classLoaderProxy;

		_addBank_Payment_SlipMethodKey0 = new MethodKey(_classLoaderProxy.getClassName(),
				"addBank_Payment_Slip",
				com.crossriver.crgis.database.model.Bank_Payment_Slip.class);

		_createBank_Payment_SlipMethodKey1 = new MethodKey(_classLoaderProxy.getClassName(),
				"createBank_Payment_Slip", java.lang.String.class);

		_deleteBank_Payment_SlipMethodKey2 = new MethodKey(_classLoaderProxy.getClassName(),
				"deleteBank_Payment_Slip", java.lang.String.class);

		_deleteBank_Payment_SlipMethodKey3 = new MethodKey(_classLoaderProxy.getClassName(),
				"deleteBank_Payment_Slip",
				com.crossriver.crgis.database.model.Bank_Payment_Slip.class);

		_dynamicQueryMethodKey4 = new MethodKey(_classLoaderProxy.getClassName(),
				"dynamicQuery",
				com.liferay.portal.kernel.dao.orm.DynamicQuery.class);

		_dynamicQueryMethodKey5 = new MethodKey(_classLoaderProxy.getClassName(),
				"dynamicQuery",
				com.liferay.portal.kernel.dao.orm.DynamicQuery.class,
				int.class, int.class);

		_dynamicQueryMethodKey6 = new MethodKey(_classLoaderProxy.getClassName(),
				"dynamicQuery",
				com.liferay.portal.kernel.dao.orm.DynamicQuery.class,
				int.class, int.class,
				com.liferay.portal.kernel.util.OrderByComparator.class);

		_dynamicQueryCountMethodKey7 = new MethodKey(_classLoaderProxy.getClassName(),
				"dynamicQueryCount",
				com.liferay.portal.kernel.dao.orm.DynamicQuery.class);

		_getBank_Payment_SlipMethodKey8 = new MethodKey(_classLoaderProxy.getClassName(),
				"getBank_Payment_Slip", java.lang.String.class);

		_getBank_Payment_SlipsMethodKey9 = new MethodKey(_classLoaderProxy.getClassName(),
				"getBank_Payment_Slips", int.class, int.class);

		_getBank_Payment_SlipsCountMethodKey10 = new MethodKey(_classLoaderProxy.getClassName(),
				"getBank_Payment_SlipsCount");

		_updateBank_Payment_SlipMethodKey11 = new MethodKey(_classLoaderProxy.getClassName(),
				"updateBank_Payment_Slip",
				com.crossriver.crgis.database.model.Bank_Payment_Slip.class);

		_updateBank_Payment_SlipMethodKey12 = new MethodKey(_classLoaderProxy.getClassName(),
				"updateBank_Payment_Slip",
				com.crossriver.crgis.database.model.Bank_Payment_Slip.class,
				boolean.class);

		_getDepositSlipsbyUserMethodKey13 = new MethodKey(_classLoaderProxy.getClassName(),
				"getDepositSlipsbyUser", java.lang.String.class);

		_getAllDepositSlipsMethodKey14 = new MethodKey(_classLoaderProxy.getClassName(),
				"getAllDepositSlips");
	}

	public com.crossriver.crgis.database.model.Bank_Payment_Slip addBank_Payment_Slip(
		com.crossriver.crgis.database.model.Bank_Payment_Slip bank_Payment_Slip)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_addBank_Payment_SlipMethodKey0,
				bank_Payment_Slip);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (com.crossriver.crgis.database.model.Bank_Payment_Slip)ClpSerializer.translateOutput(returnObj);
	}

	public com.crossriver.crgis.database.model.Bank_Payment_Slip createBank_Payment_Slip(
		java.lang.String depSlipNo) {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_createBank_Payment_SlipMethodKey1,
				depSlipNo);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (com.crossriver.crgis.database.model.Bank_Payment_Slip)ClpSerializer.translateOutput(returnObj);
	}

	public void deleteBank_Payment_Slip(java.lang.String depSlipNo)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		MethodHandler methodHandler = new MethodHandler(_deleteBank_Payment_SlipMethodKey2,
				depSlipNo);

		try {
			_classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
				throw (com.liferay.portal.kernel.exception.PortalException)t;
			}

			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}
	}

	public void deleteBank_Payment_Slip(
		com.crossriver.crgis.database.model.Bank_Payment_Slip bank_Payment_Slip)
		throws com.liferay.portal.kernel.exception.SystemException {
		MethodHandler methodHandler = new MethodHandler(_deleteBank_Payment_SlipMethodKey3,
				bank_Payment_Slip);

		try {
			_classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}
	}

	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_dynamicQueryMethodKey4,
				dynamicQuery);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List)ClpSerializer.translateOutput(returnObj);
	}

	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
		int end) throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_dynamicQueryMethodKey5,
				dynamicQuery, start, end);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List)ClpSerializer.translateOutput(returnObj);
	}

	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
		int end,
		com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_dynamicQueryMethodKey6,
				dynamicQuery, start, end, orderByComparator);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List)ClpSerializer.translateOutput(returnObj);
	}

	public long dynamicQueryCount(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_dynamicQueryCountMethodKey7,
				dynamicQuery);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return ((Long)returnObj).longValue();
	}

	public com.crossriver.crgis.database.model.Bank_Payment_Slip getBank_Payment_Slip(
		java.lang.String depSlipNo)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getBank_Payment_SlipMethodKey8,
				depSlipNo);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.PortalException) {
				throw (com.liferay.portal.kernel.exception.PortalException)t;
			}

			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (com.crossriver.crgis.database.model.Bank_Payment_Slip)ClpSerializer.translateOutput(returnObj);
	}

	public java.util.List<com.crossriver.crgis.database.model.Bank_Payment_Slip> getBank_Payment_Slips(
		int start, int end)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getBank_Payment_SlipsMethodKey9,
				start, end);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List<com.crossriver.crgis.database.model.Bank_Payment_Slip>)ClpSerializer.translateOutput(returnObj);
	}

	public int getBank_Payment_SlipsCount()
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getBank_Payment_SlipsCountMethodKey10);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return ((Integer)returnObj).intValue();
	}

	public com.crossriver.crgis.database.model.Bank_Payment_Slip updateBank_Payment_Slip(
		com.crossriver.crgis.database.model.Bank_Payment_Slip bank_Payment_Slip)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_updateBank_Payment_SlipMethodKey11,
				bank_Payment_Slip);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (com.crossriver.crgis.database.model.Bank_Payment_Slip)ClpSerializer.translateOutput(returnObj);
	}

	public com.crossriver.crgis.database.model.Bank_Payment_Slip updateBank_Payment_Slip(
		com.crossriver.crgis.database.model.Bank_Payment_Slip bank_Payment_Slip,
		boolean merge)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_updateBank_Payment_SlipMethodKey12,
				bank_Payment_Slip, merge);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (com.crossriver.crgis.database.model.Bank_Payment_Slip)ClpSerializer.translateOutput(returnObj);
	}

	public java.util.List<com.crossriver.crgis.database.model.Bank_Payment_Slip> getDepositSlipsbyUser(
		java.lang.String userId)
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getDepositSlipsbyUserMethodKey13,
				userId);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List<com.crossriver.crgis.database.model.Bank_Payment_Slip>)ClpSerializer.translateOutput(returnObj);
	}

	public java.util.List<com.crossriver.crgis.database.model.Bank_Payment_Slip> getAllDepositSlips()
		throws com.liferay.portal.kernel.exception.SystemException {
		Object returnObj = null;

		MethodHandler methodHandler = new MethodHandler(_getAllDepositSlipsMethodKey14);

		try {
			returnObj = _classLoaderProxy.invoke(methodHandler);
		}
		catch (Throwable t) {
			if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
				throw (com.liferay.portal.kernel.exception.SystemException)t;
			}

			if (t instanceof RuntimeException) {
				throw (RuntimeException)t;
			}
			else {
				throw new RuntimeException(t.getClass().getName() +
					" is not a valid exception");
			}
		}

		return (java.util.List<com.crossriver.crgis.database.model.Bank_Payment_Slip>)ClpSerializer.translateOutput(returnObj);
	}

	public ClassLoaderProxy getClassLoaderProxy() {
		return _classLoaderProxy;
	}

	private ClassLoaderProxy _classLoaderProxy;
	private MethodKey _addBank_Payment_SlipMethodKey0;
	private MethodKey _createBank_Payment_SlipMethodKey1;
	private MethodKey _deleteBank_Payment_SlipMethodKey2;
	private MethodKey _deleteBank_Payment_SlipMethodKey3;
	private MethodKey _dynamicQueryMethodKey4;
	private MethodKey _dynamicQueryMethodKey5;
	private MethodKey _dynamicQueryMethodKey6;
	private MethodKey _dynamicQueryCountMethodKey7;
	private MethodKey _getBank_Payment_SlipMethodKey8;
	private MethodKey _getBank_Payment_SlipsMethodKey9;
	private MethodKey _getBank_Payment_SlipsCountMethodKey10;
	private MethodKey _updateBank_Payment_SlipMethodKey11;
	private MethodKey _updateBank_Payment_SlipMethodKey12;
	private MethodKey _getDepositSlipsbyUserMethodKey13;
	private MethodKey _getAllDepositSlipsMethodKey14;
}